TTree.put

Inserts the given value(s) into the tree.

This is not a stable insert. You will get strange results if you insert into a tree while iterating over it.

  1. size_t insert(T value, bool overwrite)
  2. size_t insert(R r, bool overwrite)
  3. size_t insert(T[] values, bool overwrite)
  4. alias insertAnywhere = insert
  5. alias put = insert
    struct TTree(T, Allocator = Mallocator, bool allowDuplicates = false, alias less = "a < b", bool supportGC = shouldAddGCRange!T, size_t cacheLineSize = 64)
    alias put = insert

Return Value

the number of values added.

Meta